package com.chenlei.openfeign.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "order-service",path = "/order")
public interface OrderFeginService {
    @RequestMapping("/getuser/{id}")
    String getuser(@PathVariable("id") String id);
}
